﻿
namespace FamilyBook.Core.Entities
{
    public class CurrencyExchange
    {
        public int CurrencyExchangeId { get; set; }
        public CurrencyExchangeType ExchangeType { get; set; }
        public virtual Transaction BuyTransaction { get; set; }
        public virtual Transaction SellTransaction { get; set; }
        public virtual Currency BaseCurrency { get; set; }
        public virtual Currency QuoteCurrency { get; set; }
        public decimal Rate { get; set; }
    }
}
